草庐IT

java - Camel Websocket 组件无法安装到 Karaf

全部标签

ruby-on-rails - 升级到 Yosemite 10.10 后无法连接到 postgresql 数据库

更新到Yosemite10.10后,我无法连接到我的postgresql数据库。我运行Rails控制台并尝试获取第一个用户,但出现此错误...>➜game_golfgit:(master)✗railsc>Loadingdevelopmentenvironment(Rails4.1.4)>[1]pry(main)>User.first>PG::ConnectionBad:couldnotconnecttoserver:Connectionrefused>Istheserverrunningonhost"localhost"(::1)andaccepting>TCP/IPconnectio

ruby - 无法在 Eclipse 4.2 上安装 Aptana 插件

我已经安装了Eclipse4.2Juno。现在我想安装aptana来开发ruby,但是我得到以下错误,Unabletoreadrepositoryathttp://download.aptana.com/studio3/plugin/install/content.jar.无法读取位于http://download.aptana.com/studio3/plugin/install/content.jar的存储库.读取超时 最佳答案 我认为到目前为止您可能已经解决了问题,但我遇到了完全相同的问题并在多次搜索后找到了解决方案,所以为了

ruby - 恢复 Rails 3's Bundle Install Path... It' s 现在安装在我的根目录中

我在尝试安装vestal_versions插件时做了一些事情,最终在我的应用程序的根目录中创建了一个vestal_versions目录,内容如下:-Application-APP-DB-vestal_versions-ruby-1.8-bin-cache-doc-gems-specifications如果删除哪个会阻止应用程序运行...我如何更新bundle以将所有这些东西安装在正确的位置,我认为这是在应用程序之外? 最佳答案 bundleinstall使bundler将gem安装在相应的目录中。正在运行bundleinstall-

ruby-on-rails - 运行 heroku create --stack cedar 时无法加载此类文件 -- readline (LoadError)

我正在尝试将我的Rails应用程序部署到Heroku以按照以下说明进行测试:http://devcenter.heroku.com/articles/rails3#prerequisites这是我要运行的命令:herokucreate--stackcedar我收到此错误消息:/home/sergio/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in`require':cannotloadsuchfile--readline(LoadError)from/home/s

ruby-on-rails - 安装 Ruby on Rails - Mac OS Lion

我已经下载了Lion并希望安装RubyonRails我一直在网上浏览以寻找执行此操作的方法,但似乎找不到简单的方法,任何人都可以指出正确的方向。非常感谢帮助谢谢 最佳答案 下面我尝试恢复我的Rails安装。它应该运作良好。1)从Apple应用商店下载Xcode:使用此链接:xcode2)安装xcode:使用finder=>applications找到“Xcode安装图标并双击开始安装**2b.)对于xcode4.3。安装xcode后,启动它,导航到Xcode->Preferences,Downloads选项卡。安装命令行工具。这将下

ruby-on-rails - 安装 Rails : "File not found: lib"

这个问题在这里已经有了答案:rails3installerror"Filenotfound:lib"(4个答案)关闭8年前。每当我尝试在Ubuntu服务器上安装Rails时,我都会收到错误消息,找不到文件:lib。这是为什么?

ruby - 使用 Ansible 安装 Bundler gem

我正在尝试使用Ansible在我的VPS上安装Bundler。我已经设置了rbenv,全局ruby​​是2.1.0。如果我以root身份通过SSH连接到服务器并运行geminstallbundler,安装完美。我尝试了以下三种使用Ansible安装Bundlergem的方法,这三种方法都没有产生错误,但是当我SSH进入并运行gemlist时,Bundler无处可见。尝试1:----name:InstallBundlershell:geminstallbundler尝试2:----name:InstallBundlershell:geminstallbundler尝试3:----name

ruby-on-rails - Ruby:在 Windows 7 下安装 EventMachine 时出现问题

我正在尝试通过捆绑在Windows7上安装gemEventMachine(使用Ruby1.9.2和RubyInstaller),但出现以下错误。我还安装了DevKit,它可以正常工作,但我仍然无法弄清楚问题是什么:Installingeventmachine(0.12.10)withnativeextensionsC:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in`rescueinblockinbuild_extensions':ERROR:Failedtobuildgemnativeextension.(G

ruby-on-rails - bundle 安装不适用于 capistrano

我想通过capistrano3.0部署我的简单rails4.0应用程序。我使用bundler1.3.5所以我添加了capistrano-bundlergem将bundler与capistrano集成。我有非常简单的配置(几乎是默认配置):set:bundle_gemfile,->{release_path.join('Gemfile')}set:bundle_dir,->{shared_path.join('bundle')}set:bundle_flags,''set:bundle_without,%w{testdevelopment}.join('')set:bundle_bins

ruby - 无法在生产服务器上更新 gem

无法在生产服务器上更新gem。我已经尝试过bundleinstall--deployment和bundleinstall--withoutdevelopmenttest但不断得到:YouaretryingtoinstallindeploymentmodeafterchangingyourGemfile.Run`bundleinstall`elsewhereandaddtheupdatedGemfile.locktoversioncontrol.Ifthisisadevelopmentmachine,removetheGemfilefreezebyrunning`bundleinstal